package com.song.shenghua.match.config;

import cn.hutool.core.date.DateUtil;

import java.util.Date;

/**
 * @author 宋LS
 * @version 1.0
 * @date 2021/3/8 16:13
 */
public class te {
    public static void main(String[] args) {
        int day = 1;

        for (int i = 0; i < 7; i++) {
            day++;
            for (int j = 0; j < 24; j++) {
                for (int k = 0; k < 60; k++) {
                    String dateStr = "2017-03-0" + day +" "+j + ":" + k + ":00";
                    Date date = DateUtil.parse(dateStr, "yyyy-MM-dd HH:mm:ss");
                    System.out.println("date = " + date);
                }
            }

        }}
}
